<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" disabled value="{$info['shopid']['cname']}" class="form-control form-control" type="text">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">入库数量:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required|range(1~{$info['num']-$info['actual']})" min="1" max="{$info['num']-$info['actual']}" class="form-control form-control" name="row[num]" type="number">
            <span class="help-block">注：最多可入库数量 {$info['num']-$info['actual']}</span>
        </div>

    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-mark" data-rule="required" class="form-control  form-control" rows="5" name="row[mark]" cols="50"></textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
